home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 February / EnigmA AMIGA RUN 15 (1997)(G.R. Edizioni)(IT)[!][issue 1997-02][PLANET CD V].iso / recent / picsize.rdm < prev    next >
Text File  |  1997-01-21  |  2KB  |  83 lines

  1. Short:    Gen IMG WIDTH&HEIGHT HTML tag
  2. Author:   christon@sn.no (Christopher  Naas)
  3. Uploader: colin@znet.com (Colin Thompson)
  4. Version:  1.0
  5. Type:     comm/www
  6.  
  7. --------------------------------------------------
  8.  
  9. Requirements:
  10.  
  11.      WB 3+. Uses datatypes.
  12.  
  13.  
  14. Description:
  15.  
  16.      Picsize is a utility program to aid HTML authors. It will examine a
  17.      graphic image and write the <IMG SRC=> tag to the shell or a file. This
  18.      information can be easily inserted into a HTML document.
  19.  
  20.  
  21. Usage:
  22.  
  23.      picsize <picfilename>
  24.  
  25.      You may redirect the output to a file like this:
  26.  
  27.      picsize <picfilename> >ram:picdesc
  28.  
  29.  
  30. Examples:
  31.  
  32.      Picsize will examine any file that you have a datatype for. It will
  33.      write out something like this:
  34.  
  35.      <IMG SRC="banner.gif" WIDTH="332" HEIGHT="179" ALT="" BORDER="0">
  36.  
  37.      It gets the WIDTH and HEIGHT data and generates a HTML string you can
  38.      paste directly into your document.
  39.      
  40.  
  41. Tips:
  42.  
  43.      Place the picsize file somewhere in the path. From the shell, CD to the
  44.      directory that holds the HTML file you are working on. Call picsize
  45.      with the path and filename of the picture you are interested in.
  46.  
  47.      Paste the resultant output into your document. Check the path and
  48.      filename to see if it is right. If the picture is in a different
  49.      directory than the HTML file, you may have to edit the path. You may
  50.      have to manually insert "../" in front of the path/filename.
  51.  
  52.      Now edit the BORDER and ALT values to what you want.
  53.  
  54.      
  55.      Picsize may be launched from SID2 like this:
  56.      
  57.      <path>/picsize >>ram:img
  58.  
  59.      This allows multiple files to be listed to the temp file.
  60.  
  61.  
  62. Arexx:
  63.  
  64.      While picsize has no Arexx port, it can be called from within your
  65.      editor. The resultant string could be pasted directly into your
  66.      document. You will need to write an Arexx script to do this.
  67.  
  68.  
  69. Distribution:
  70.  
  71.      Picsize is freeware. If this program is included on a magazine disk or
  72.      CDROM, the publisher must provide a free copy of the disk to the
  73.      author. Picsize is © 1997.  All rights reserved by the author. 
  74.      Picsize is offered without any warranty. Use at your own risk.
  75.  
  76.  
  77. Author:
  78.  
  79.      Christopher Landmark Naas
  80.      christon@sn.no
  81.      http://home.sn.no/~christon/
  82.      IRC KarmaComa
  83.